import request from '@/utils/request'

// 查询连铸坯库存录入列表
export function listLzpkc(query) {
  return request({
    url: '/jhc/lzpkc/list',
    method: 'get',
    params: query
  })
}

// 查询连铸坯库存录入详细
export function getLzpkc(cDate) {
  return request({
    url: '/jhc/lzpkc/' + cDate,
    method: 'get'
  })
}

// 新增连铸坯库存录入
export function addLzpkc(data) {
  return request({
    url: '/jhc/lzpkc',
    method: 'post',
    data: data
  })
}

// 修改连铸坯库存录入
export function updateLzpkc(data) {
  return request({
    url: '/jhc/lzpkc',
    method: 'put',
    data: data
  })
}

// 删除连铸坯库存录入
export function delLzpkc(cDate) {
  return request({
    url: '/jhc/lzpkc/' + cDate,
    method: 'delete'
  })
}
